package com.ruoyi.airspaceFlight;

import com.ruoyi.airspaceFlight.domain.TTaskNature;
import com.ruoyi.airspaceFlight.service.ITTaskNatureService;
import org.junit.jupiter.api.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import javax.annotation.Resource;
import java.util.List;

@RunWith(SpringRunner.class)
@SpringBootTest(classes = AirspaceFlightApplication.class)
public class Text {

    @Autowired
    private ITTaskNatureService itTaskNatureService;

    @Test
    public void selectByNmae(){
        TTaskNature tTaskNature = new TTaskNature();
        List<TTaskNature> tTaskNatures = itTaskNatureService.selectTTaskNatureList(tTaskNature);
        System.out.println(tTaskNatures);
    }

}
